package gov.tax.rti.base.security.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

@Embeddable
public class SjmxTpjgPK implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3467079453994871564L;
	@Column(name = "SJMX_DM", nullable = false)
	private String sjmxDm;
	/*@Column(name="SJBQ_DM", nullable = false)
    private String sjbqDm;
	@Column(name = "GLBQ_DM", nullable = false)
	private String glbqDm;*/
	@OneToOne
	@JoinColumn(name="SJBQ_DM", nullable = false)
	private Sjbq sjbq;
	@OneToOne
	@JoinColumn(name="GLBQ_DM", nullable = false)
	private Sjbq glbq;
	
	public String getSjmxDm() {
		return sjmxDm;
	}
	public void setSjmxDm(String sjmxDm) {
		this.sjmxDm = sjmxDm;
	}
	/*public String getSjbqDm() {
		return sjbqDm;
	}
	public void setSjbqDm(String sjbqDm) {
		this.sjbqDm = sjbqDm;
	}
	public String getGlbqDm() {
		return glbqDm;
	}
	public void setGlbqDm(String glbqDm) {
		this.glbqDm = glbqDm;
	}*/
	public Sjbq getSjbq() {
		return sjbq;
	}
	public void setSjbq(Sjbq sjbq) {
		this.sjbq = sjbq;
	}
	public Sjbq getGlbq() {
		return glbq;
	}
	public void setGlbq(Sjbq glbq) {
		this.glbq = glbq;
	}
	
}
